<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2021/11/3
  Time: 9:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="author" content="order by dede58.com/" />
    <title>生辰</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <link rel="stylesheet" type="text/css" href="/style/css/style_2_common.css" />
    <link rel="stylesheet" type="text/css" href="/style/css/style_2_portal_list.css" />
    <script src="/style/js/common.js" type="text/javascript"></script>
    <script src="/style/js/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="/style/js/pace.js" type="text/javascript"></script>
    <link href="/style/css/style.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body id="nv_portal" class="pg_list pg_list_1 pg_list_6">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div id="toptb" class="cl" style="display:none;"> </div>
<div id="hd" style="background:#FFF; height:60px; border-bottom:1px solid #E6E6E6; ">
    <div class="clear"></div>
    <div id="week_nav">
        <div class="wk_navwp">
            <div class="wk_lonav">
                <div class="wk_logo">
                    <h2><a href="index.html" title=""><img src="${pageContext.request.contextPath}/bigScreen/images/logo2.png" alt="" border="0" /></a></h2>
                </div>
                <div class="wk_inav">
                    <ul class="nav">
                        <li><a onclick="location.reload()" style="cursor: pointer">首页</a></li>


                        <li >
                            <h3 class="username">欢迎您：${sessionScope.user.username}</h3>

                        </li>

                        <li><a href="/outLogin">注销</a></li>


                        <%--                        <li><a href="about.html" >关于我们</a></li>--%>

                        <%--                        <li><a href="news.html" >新闻资讯</a></li>--%>

                        <%--                        <li><a href="case.html" >项目案例</a></li>--%>

                        <%--                        <li><a href="wenti.html" >常见问题</a></li>--%>

                        <%--                        <li><a href="contact.html" >联系我们</a></li>--%>

                    </ul>
                </div>
            </div>

        </div>
    </div>
</div>

<div id="mu" class="cl">
    <div class="wp"> </div>
</div>
<script src="/style/js/week_nav.js" type="text/javascript"></script>
<div id="wp" class="wp">
    <style id="diy_style" type="text/css">
        #frameyd1cLA {  border:0px !important;margin:0px !important;}#portal_block_18 {  border:0px !important;margin:0px !important;}#portal_block_18 .dxb_bc {  margin:0px !important;}#framep2n1bg {  border:0px !important;margin:0px !important;}#portal_block_19 {  border:0px !important;margin:0px !important;}#portal_block_19 .dxb_bc {  margin:0px !important;}#frameHCV83Y {  border:0px !important;margin:0px !important;}#portal_block_20 {  border:0px !important;margin:0px !important;}#portal_block_20 .dxb_bc {  margin:0px !important;}#framelo3Fmy {  border:0px !important;margin:0px !important;}#portal_block_21 {  border:0px !important;margin:0px !important;}#portal_block_21 .dxb_bc {  margin:0px !important;}

    </style>
    <link href="/style/css/about.css" rel="stylesheet" type="text/css" />
</div>
<div class="wk_list_box wk_list_box3" style="background: url(../../../style/images/6.png) no-repeat center top; height: 400px"> </div>

<div class="clear"></div>
<div class="main_about">
    <div class="who">

        <!--[diy=wk_about_diy1]-->

        <div id="wk_about_diy1" class="area">
            <div id="frameyd1cLA" class=" frame move-span cl frame-1">
                <div id="frameyd1cLA_left" class="column frame-1-c">
                    <div id="frameyd1cLA_left_temp" class="move-span temp"></div>
                    <div id="portal_block_18" class="block move-span">
                        <div id="portal_block_18_content" class="dxb_bc">
                            <div class="portal_block_summary">
                                <div class="about_title or">
                                    <h1>我们是谁</h1>
                                </div>
                                <p>对你的生辰进行简单的分析，以至于你能懂得五行生克，不可迷信，但可扬长补短！
                                <div>
                                    &nbsp;</div>
                                <div>
                                    我们的服务宗旨:为您服务，就是我们最大的荣誉</div>
                                <div>
                                    &nbsp;</div>
                                <div>
                                    感谢您的使用！</div>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--[/diy]-->

    </div>
    <div class="bottom">

        <!--[diy=wk_about_diy2]-->

        <div id="wk_about_diy2" class="area">
            <div id="framep2n1bg" class=" frame move-span cl frame-1">
                <div id="framep2n1bg_left" class="column frame-1-c">
                    <div id="framep2n1bg_left_temp" class="move-span temp"></div>
                    <div id="portal_block_19" class="block move-span">
                        <div id="portal_block_19_content" class="dxb_bc">
                            <form role="form">
                                <div class="form-group">
                                    <label for="name" style="font-size: 30px">生辰投放</label>
                                    <input type="date" style="width: 200px;height: 30px;font-size: 20px" id="date">
                                    <input type="time" style="width: 200px;height: 30px;font-size: 20px" id="time">
                                    <select id="sex">
                                        <option value="男">男</option>
                                        <option value="女">女</option>
                                    </select>
                                    <input type="button"  class="btn btn-info"  value="投放" style="font-size: 20px" />
                                </div>

                            </form>

                            <script type="text/javascript" src="${pageContext.request.contextPath}/login/js/Treatment.js"></script>
                            <script type="text/javascript" src="${pageContext.request.contextPath}/login/layui/layui.js"></script>
                            <link href="${pageContext.request.contextPath}/login/layui/css/layui.css" rel="stylesheet" type="text/css" />

                            <script type="text/javascript">

                                layui.use('layer',function () {
                                    $('input[type="button"]').click(function() {

                                        console.log(1);
                                        // var date = document.getElementById("date");
                                        // var time = document.getElementById("time");

                                        var d = $("#date").val();
                                        var t = $("#time").val();
                                        var sex = $("#sex");

                                        console.log(d);
                                        console.log(t);
                                        console.log(sex.val());




                                        var params = {
                                            username:"${sessionScope.user.username}",
                                            date:d,
                                            hour:t,
                                            sex:sex.val(),


                                        };

                                        if(params.date === "" || params.hour === "" || params.sex === "" ){
                                            ErroAlert("内容不能为空");
                                            return false;

                                        }

                                        else {
                                            $.post("/user/liveRes", params, function (res) {
                                                console.log(res);
                                                if (res.code === 200) {
                                                    OkAlert("生成完成");
                                                    // $("#date").val("");
                                                    // $("#time").val("");
                                                    document.getElementById("r").style.display = "block";
                                                    $("#res").html(res.data);
                                                    $("#res").style.fontSize("16px");

                                                } else {
                                                    ErroAlert("生成失败");
                                                }

                                            }, "json");
                                        }


                                    });
                                })

                            </script>

                            <div>

                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--[/diy]-->

    </div>
</div>
<div class="clear"></div>
<div class="project_gray" >
    <div class="project">

        <!--[diy=wk_about_diy3]-->

        <div id="wk_about_diy3" class="area">
            <div id="frameHCV83Y" class=" frame move-span cl frame-1">
                <div id="frameHCV83Y_left" class="column frame-1-c">
                    <div id="frameHCV83Y_left_temp" class="move-span temp"></div>
                    <div id="portal_block_20" class="block move-span">
                        <div id="portal_block_20_content" class="dxb_bc">
                            <div class="portal_block_summary">
                                <div class="about_title" style="display: none" id="r">
                                    <h1>生成结果</h1>
                                     </div>
                                <div class="project_con" id="res">

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--[/diy]-->

    </div>
</div>
<div class="clear"></div>
<div class="team_box">
    <div class="team">

        <!--[diy=wk_about_diy4]-->



        <!--[/diy]-->

    </div>
</div>
<div id="wp" class="wp">
    <div class="wp"><!--[diy=diy1]-->

        <div id="diy1" class="area"></div>

        <!--[/diy]--></div>

    <!--[diy=listcontenttop]-->

    <div id="listcontenttop" class="area"></div>

    <!--[/diy]-->

    <div class="clear"></div>

    <!--[diy=diycontentbottom]-->

    <div id="diycontentbottom" class="area"></div>

    <!--[/diy]-->

    <div class="wp mtn">

        <!--[diy=diy3]-->

        <div id="diy3" class="area"></div>

        <!--[/diy]-->

    </div>
</div>


</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;">
</ul>

<link href="/style/css/service.css" rel="stylesheet" type="text/css" />
<div class="main-im">
    <div id="open_im" class="open-im"> </div>
    <div class="im_main" id="im_main">
        <div id="close_im" class="close-im"><a href="javascript:void(0);" title="点击关闭"> </a></div>
        <a href="#" target="_blank" class="im-qq qq-a" title="联系我们">
            <div class="qq-container"></div>
            <div class="qq-hover-c"><img class="img-qq" src="${pageContext.request.contextPath}/style/images/qq.png"></div>
            <span>联系我们</span> </a>
        <div class="im-tel">
            <dt>售前咨询热线</dt>
            <dt class="tel-num">1328493449</dt>
            <dt>售后服务热线</dt>
            <dt class="tel-num">1328493449</dt>
        </div>
        <div class="im-footer" style="position:relative">
            <div class="weixing-container">
                <div class="weixing-show">
                    <div class="weixing-txt">qq扫一扫<br>
                        关注公众号<br>
                        获取更多知识</div>
                    <img class="weixing-ma" src="${pageContext.request.contextPath}/style/images/weixing2.jpg">
                    <div class="weixing-sanjiao"></div>
                    <div class="weixing-sanjiao-big"></div>
                </div>
            </div>
            <div class="go-top"><a href="#" title="返回顶部"></a> </div>
            <div style="clear:both"></div>
        </div>
    </div>
</div>
<script type="text/javascript">

    PTM(document).ready(function(){

        PTM('#close_im').bind('click',function(){

            PTM('#main-im').css("height","0");

            PTM('#im_main').hide();

            PTM('#open_im').show();

        });

        PTM('#open_im').bind('click',function(e){

            PTM('#main-im').css("height","272");

            PTM('#im_main').show();

            PTM(this).hide();

        });



        PTM(".weixing-container").bind('mouseenter',function(){

            PTM('.weixing-show').show();

        })

        PTM(".weixing-container").bind('mouseleave',function(){

            PTM('.weixing-show').hide();

        });

    });

</script>
<script src="/style/js/home.js" type="text/javascript"></script>
<div id="scrolltop"> <span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>返回顶部</b></a></span> </div>
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
<div id="discuz_tips" style="display:none;"></div>
<script src="/style/js/discuz_tips.js" type="text/javascript" charset="UTF-8"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/login/js/jquery.mockjax.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/login/js/Treatment.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/login/layui/layui.js"></script>
<link href="${pageContext.request.contextPath}/login/layui/css/layui.css" rel="stylesheet" type="text/css" />



</body>
</html>

